/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package byblos.apresentacao;

import javax.servlet.http.HttpServletRequest;
import org.vraptor.annotations.Component;
import org.vraptor.annotations.In;
import org.vraptor.annotations.Out;

/**
 *
 * @author diego
 */
@Component
public class VisaNetReenviarComponent {

    @In
    private HttpServletRequest request;
    @Out
    private String identificacao;
    @Out
    private String ambiente;
    @Out
    private String modulo;
    @Out
    private String operacao;
    @Out
    private String tid;
    @Out
    private String URLRetornoVisa;

    public void reenviar() {       
        tid = "" + request.getParameterMap().get("tid");
        identificacao = "2046596";
        ambiente = "producao"; //teste ou producao
        modulo = "VISAVBV";
        operacao = "Retorno";
        URLRetornoVisa = "http://www.byblospousada.com.br/byblos/visanetfinalizar.finalizar.logic";
    }
}
